package cn.school.stu.evaluation.dao;

import cn.school.stu.evaluation.entity.StuEvaData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: lx
 * @date: 2023/5/30 8:24
 * @description:
 */
@Mapper
@Component
public interface StuEvaDataDao extends BaseMapper<StuEvaData> {

    int createStuEvaDataBatch(List<StuEvaData> stuEvaDataList);

    int findStuEvaDataCount(@Param("vo") StuEvaData vo,
                            @Param("tenantId") String tenantId);

    List<StuEvaData> findStuEvaDataPageList(@Param("startNum")int startNum,
                                         @Param("vo")StuEvaData vo,
                                         @Param("tenantId")String tenantId);
}
